home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / misc / pclta-1.000 / pclta-1 / hostappl / hauif.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-18  |  838 b   |  26 lines

  1. /*
  2.  * hauif.h,v 1.0 1996/03/18 14:18:33 miksic Exp
  3.  */
  4.  
  5. /* HAUIF.H -- Example host application user interface function prototypes.
  6.  * Copyright (c) 1993 by Echelon Corporation.
  7.  * All Rights Reserved.
  8.  */
  9.  
  10. extern int get_integer( const char * prompt, int default_val );
  11.  
  12. extern boolean get_choice( const char * prompt, char true_choice,
  13.         char false_choice );
  14.  
  15. extern boolean handle_error( NI_Code ni_error,
  16.              ComplType completion,      // set to MSG_SUCCEEDS to omit check
  17.              byte      response_code,   // set to NO_CHECK to omit check
  18.              const char    * msg_name );
  19.         // return TRUE if failure, FALSE if success
  20.  
  21. #define NO_CHECK 0x20   /* do not check response code */
  22.  
  23. extern void print_array( const void * data, int length, const char * format );
  24.  
  25. extern boolean report_flag, verbose_flag;
  26.